package tedu.boot29.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import tedu.boot29.entity.Hero;

@Mapper
public interface HeroMapper {

    @Insert("insert into hero values(null,#{name},#{money})")
    void insert(Hero hero);
}
